package com.lai.hospital.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lai.hospital.dto.DepartmentDTO;
import com.lai.hospital.entity.Department;
import com.lai.hospital.vo.ConditionVO;
import com.lai.hospital.vo.DepartmentVO;

import java.util.List;

/**
 * @author : lai
 * @version V1.0
 * @Project: hospital-springboot
 * @Package com.lai.hospital.service
 * @Description: 科室服务
 * @date Date : 2022年11月24日 0:55
 */
public interface DepartmentService extends IService<Department> {


    List<DepartmentDTO> listDepartment(ConditionVO conditionVO);


    void saveOrUpdateDepartment(DepartmentVO departmentVO);

    void deleteDepartment(Integer departmentId);

    List<DepartmentDTO> listDepartmentChildren();

}
